package com.seuic.hnjiningposapp.hnapps.ui.view.dialog;

import android.content.Context;

import androidx.annotation.NonNull;

import com.lxj.xpopup.core.BasePopupView;
import com.seuic.hnjiningposapp.R;

import butterknife.ButterKnife;
import butterknife.Unbinder;

/**
 * 正在读取冠字号
 */
public class ReadCcP extends BasePopupView {
    Unbinder bind;

    public ReadCcP(@NonNull Context context) {
        super(context);
    }

    @Override
    protected void onCreate() {
        super.onCreate();
        bind = ButterKnife.bind(this);
    }

    @Override
    protected int getPopupLayoutId() {
        return R.layout.read_ccp;
    }

    @Override
    protected void onDismiss() {
        super.onDismiss();
        //注解解绑
        if (bind != null && bind != Unbinder.EMPTY) {
            bind.unbind();
        }
        this.bind = null;
    }

}
